package com.twu.biblioteca.Entity;

public class Movie {
    private String movieId;
    private String movieName;
    private String year;
    private Rating rating;
    private boolean isCheckOut;
    private String borrower;

    public Movie(String movieId, String movieName, String year, Rating rating, boolean isCheckOut, String borrower) {
        this.movieId = movieId;
        this.movieName = movieName;
        this.year = year;
        this.rating = rating;
        this.isCheckOut = isCheckOut;
        this.borrower = borrower;
    }

    public String getMovieId() {
        return movieId;
    }

    public String getMovieName() {
        return movieName;
    }

    public boolean isCheckOut() {
        return isCheckOut;
    }

    public String getBorrower() {
        return borrower;
    }

    public String getYear() {
        return year;
    }

    public Rating getRating() {
        return rating;
    }
}

